package com.team6.cet.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.team6.cet.entity.ExaminationInformation;

@Mapper
public interface ExaminationInformationMapper {
/**
 * 查询所有考试信息
 * @author ocean
 * @return  List<ExaminationInformation>
 *  */
	public List<ExaminationInformation> findExam();  
/**
 * 根据id 查询 考试信息
 * @param int ExaminationInformationID 考试id 
 * @return ExaminationInformation */
	public   ExaminationInformation  findExamById(int ExaminationInformationID); 
	/**
	 * 根据id 删除 考试信息
	 * @param int ExaminationInformationID 考试id 
	 * */
	public int delExam(int ExaminationInformationID);
	/**
	 * 更新考试信息
	 * @author ocean
	 * @param  ExaminationInformation
	 *  */
	public int UpdataExam(ExaminationInformation examinationInformation);
	/**
	 * 新增考试信息
	 * @author ocean
	 *  
	 *  */
	public int InsertExam(ExaminationInformation examinationInformation);
}
